package com.ruoyi.teacher.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教师信息对象 teacher_info
 * 
 * @author ruoyi
 * @date 2024-12-16
 */
public class TeacherInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教师ID，主键 */
    private Long id;

    /** 教师工号 */
    @Excel(name = "教师工号")
    private String teacherId;

    /** 教师姓名 */
    @Excel(name = "教师姓名")
    private String name;

    /** 教师年龄 */
    @Excel(name = "教师年龄")
    private Long age;

    /** 职称 */
    @Excel(name = "职称")
    private String title;

    /** 所在系 */
    @Excel(name = "所在系")
    private String department;

    /** 教授的主要课程 */
    @Excel(name = "教授的主要课程")
    private String courses;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phoneNumber;

    /** 联系地址 */
    @Excel(name = "联系地址")
    private String contactAddress;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTeacherId(String teacherId) 
    {
        this.teacherId = teacherId;
    }

    public String getTeacherId() 
    {
        return teacherId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setCourses(String courses) 
    {
        this.courses = courses;
    }

    public String getCourses() 
    {
        return courses;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setContactAddress(String contactAddress) 
    {
        this.contactAddress = contactAddress;
    }

    public String getContactAddress() 
    {
        return contactAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teacherId", getTeacherId())
            .append("name", getName())
            .append("age", getAge())
            .append("title", getTitle())
            .append("department", getDepartment())
            .append("courses", getCourses())
            .append("phoneNumber", getPhoneNumber())
            .append("contactAddress", getContactAddress())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
